package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <desc>
 *      设备授权文件表实体类
 * </desc>
 *
 * @createDate 2020/8/13
 **/
@ItlTables("device_auth_file")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DeviceAuthFilePO extends BasePO{

    @ItlField(value = "auth_id", logicKey = "key")
    private String authId; //逻辑id，授权文件id

    @ItlField("file_name")
    private String fileName;    //文件名称

    @ItlField("effective_times")
    private Integer effectiveTimes; //有效次数

    @ItlField("used_times")
    private Integer usedTimes;      //已使用次数

    @ItlField("file_size")
    private long fileSize;        //文件大小

    @ItlField("auth_file_url")
    private String authFileUrl;     //授权文件地址

    @ItlField("evidence_file_url")
    private String evidenceFileUrl; //次数凭证文件地址 ，多个逗号隔开，最多3个

    @ItlField("create_user_id")
    private String createUserId;    //创建人id

    @ItlField("operate_user_id")
    private String operateUserId;   //操作人id

}
